package com.atguigu.gulimail.product.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @ClassName: PersonDemo
 * @Description:
 * @Date 2022/06/16 09:59
 * @Author songshaoqiu
 **/
@Data
public class PersonDemo {

    @NotBlank(message = "姓名不能为空")
    private String username;

    @NotNull(message = "密码不能为空")
    private Integer password;

}
